﻿@{
    Layout = null;
}
@using QAU.DFS.Model
<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>ShowImage</title>
</head>
<body>
    <div>
        <h1>显示分布式服务器中 所有图片信息</h1>
        <ul>
            @foreach (ImageServerInfo imageService in (List<ImageServerInfo>)ViewData["imageServerList"])
            {
                foreach (var imageInfo in imageService.ImageInfo)
                {<li>
                    <img src="@string.Format("http://{0}{1}",imageService.ServerUrl,imageInfo.ImageName)" width="200" height="200" />
                </li>
                }
            
            }
        </ul>
    </div>
</body>
</html>
